import Vue from 'vue'
import {
    Button,
    Swipe,
    SwipeItem,
    Lazyload,
    Sticky,
    Loading,
    List,
    form,
    Field,
    Uploader,
    Radio,
    RadioGroup,
    Tag,
    Cell,
    CellGroup,
    Toast,
    GoodsAction,
    GoodsActionIcon,
    GoodsActionButton,
    Sku,
    Checkbox,
    CheckboxGroup,
    SubmitBar,
    Badge,
    Empty,
    Image,
    ContactCard,
    Tab,
    Tabs
} from 'vant'
/* import 'vant/lib/index.css' */

/* Vue.use(Button).use(Swipe).use(SwipeItem) */

const components = [
    Button,
    Swipe,
    SwipeItem,
    Lazyload,
    Sticky,
    Loading,
    List,
    form,
    Field,
    Uploader,
    Radio,
    RadioGroup,
    Tag,
    Cell,
    CellGroup,
    Toast,
    GoodsAction,
    GoodsActionIcon,
    GoodsActionButton,
    Sku,
    Checkbox,
    CheckboxGroup,
    SubmitBar,
    Badge,
    Empty,
    Image,
    ContactCard,
    Tab,
    Tabs
]
for (const component of components) {
    Vue.use(component)
}